package com.xym.pojo;

public class UserThreadLocal {

	//本地线程对象
	public static ThreadLocal<User> USER_LOCAL = new ThreadLocal<User>();
	
	public static void set(User user){
		USER_LOCAL.set(user);
	}
	
	public static User get(){
		return USER_LOCAL.get();
	}
}
